 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Easy.Web.CMS;
using Easy.Web.Route;

namespace Easy.CMS.List
{
    public class ListPlug : PluginBase
    {
        public override IEnumerable<RouteDescriptor> RegistRoute()
        {
            return null;
        }

        public override IEnumerable<AdminMenu> AdminMenu()
        {
            return null;
        }

        protected override void InitScript(Func<string, Web.Resource.ResourceHelper> script)
        {
            script("List")
             .Include("~/Modules/List/Scripts/plugins.js")
             .Include("~/Modules/List/Scripts/layer/layer.js");
        }

        protected override void InitStyle(Func<string, Web.Resource.ResourceHelper> style)
        {
            style("List").Include("~/Modules/List/Content/Styles/form.css", "~/Modules/List/Content/Styles/form.css", Urls.CdnHost + "~/Modules/List/Content/Styles/form.css")
            .Include("~/Modules/List/Content/Styles/beyond.min.css", "~/Modules/List/Content/Styles/beyond.min.css", Urls.CdnHost + "~/Modules/List/Content/Styles/beyond.min.css")
            .Include("~/Modules/List/Content/Styles/animate.min.css", "~/Modules/List/Content/Styles/animate.min.css", Urls.CdnHost + "~/Modules/List/Content/Styles/animate.min.css")
            .Include("~/Modules/List/Content/Styles/animate.min.css", "~/Modules/List/Content/Styles/animate.min.css", Urls.CdnHost + "~/Modules/List/Content/Styles/animate.min.css")
            .Include("~/Modules/List/Content/Styles/bootstrap.min.css", "~/Modules/List/Content/Styles/bootstrap.min.css", Urls.CdnHost + "~/Modules/List/Content/Styles/bootstrap.min.css")
            .Include("~/Modules/List/Content/Styles/demo.min.css", "~/Modules/List/Content/Styles/demo.min.css", Urls.CdnHost + "~/Modules/List/Content/Styles/demo.min.css")
            .Include("~/Modules/List/Content/Styles/font-awesome.min.css", "~/Modules/List/Content/Styles/font-awesome.min.css", Urls.CdnHost + "~/Modules/List/Content/Styles/font-awesome.min.min.css")
            .Include("~/Modules/List/Content/Styles/typicons.min.css", "~/Modules/List/Content/Styles/typicons.min.css", Urls.CdnHost + "~/Modules/List/Content/Styles/typicons.min.css")
            .Include("~/Modules/List/Content/Styles/weather-icons.min.css", "~/Modules/List/Content/Styles/weather-icons.min.css", Urls.CdnHost + "~/Modules/List/Content/Styles/weather-icons.min.css")
            .Include("~/Modules/List/Content/Styles/form.css", "~/Modules/List/Content/Styles/form.css", Urls.CdnHost + "~/Modules/List/Content/Styles/form.css");
       
        }

        public override IEnumerable<PermissionDescriptor> RegistPermission()
        {
            return null;
        }
    }
}